From: Jasper St. Pierre Date: Fri, 11 Oct 2013 17:17:21 +0000 (-0400) Subject: notificationDaemon: Remove dead code X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3235 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0c7d9958f5a9097bf940c8e30b81400f815e33bf;p=gnome-shell.git notificationDaemon: Remove dead code --- diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index 63f03af11..22dbb6f20 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -752,22 +752,6 @@ const Source = new Lang.Class({ return null; }, - _setApp: function(appId) { - if (this.app) - return; - - this.app = this._getApp(appId); - if (!this.app) - return; - - // Only override the icon if we were previously using - // notification-based icons (ie, not a trayicon) or if it was unset before - if (!this.trayIcon) { - this.useNotificationIcon = false; - this.iconUpdated(); - } - }, - setTitle: function(title) { // Do nothing if .app is set, we don't want to override the // app name with whatever is provided through libnotify (usually